﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frm_AuditSet.aspx.cs" Inherits="Mod_FlatManger_frm_AuditSet" %>
<%@ Register Src="../WebCustomUserControls/CuTextSelectBox.ascx" TagName="CuTextSelectBox" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title></title>
        <script language="javascript" src="../App_script/index.js"></script>
        <script language="javascript" src="../XMLHttpRequest/xmlhttprequest.js"></script>
        <link type="text/css" rel="stylesheet" href="../App_Css/css1.css"/>
    </head>
    <body rightmargin="0" topmargin="0" bottommargin="0" leftmargin="0" onkeydown="FocusChangNext()">
        <form id="AuditSet" runat="server">
            <!-- 下拉子菜单 Begin -->
            <div id="divChildMenu" align="center" style="border-right: #cdccc1 1px solid; visibility:hidden; border-top: #cdccc1 1px solid; left: 634px; border-left: #cdccc1 1px solid; width: 120px; border-bottom: #cdccc1 1px solid; position: absolute; top: 31px; height: 40px; background-color: #e8e8e3">
                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" class="text">
                    <tr onmouseover="ChangTrBgColor(this, '#D3E2D7')" onmouseout="ChangTrBgColor(this, '')">
                        <td width="20%" align="center" style="height: 18px"></td>
                        <td width="80%" align="left" style="height: 18px"><asp:linkbutton ID="lbtnDelete0" CommandName="0" OnClick="lbtnDelete_Click" runat="server" Text="作   废" Font-Overline="False" ForeColor="#4E4E4E"/></td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 1px"><hr style="width: 101px" /></td>
                    </tr>
                    <tr onmouseover="ChangTrBgColor(this, '#D3E2D7')" onmouseout="ChangTrBgColor(this, '')">
                        <td width="20%" align="center" style="height: 25px"></td>
                        <td width="80%" align="left" style="height: 25px"><asp:linkbutton ID="lbtnDelete1" Enabled="false" CommandName="1" OnClick="lbtnDelete_Click" runat="server" Text="彻底作废" Font-Overline="False" ForeColor="#4E4E4E"/></td>
                    </tr>
                </table>
            </div>
            <table align="center" width="100%" height="449" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35" align="left" background="../App_Images/b_12.gif">
                        <!-- 操作工具条 Begin -->
                        <table width="820" height="35" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>&nbsp;</td>
                                <td width="1">
                                    <input type="hidden" id="hidButtonEdit" runat="server" style="width:0; height:0;">
                                </td>
                                <asp:Panel ID="panAdd" Visible="false" runat="server">
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="100"><asp:imagebutton ID="ibtnAdd" ImageUrl="../App_Images/b_18_1.gif" onmouseover="ChangImage(this, '../App_Images/b_18_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_18_1.gif')" runat="server" OnClick="ibtnAdd_Click" /></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panRef" Visible="false" runat="server">
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnRef" CommandName="0" ImageUrl="../App_Images/b_20_1.gif" onmouseover="ChangImage(this, '../App_Images/b_20_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_20_1.gif')" runat="server" OnClick="ibtnRef_Click" /></td>
                                            <td align="center" width="30"><img src="../App_Images/b_25.gif" height="25" width="1"/></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panDelete" Visible="false" runat="server">
                                <td width="87">
                                    <table width="87" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnDelete0" CommandName="0" OnClick="ibtnDelete0_Click" ImageUrl="../App_Images/b_19_1.gif" onmouseover="ChangImage(this, '../App_Images/b_19_2.gif');ChangImage(document.all.imgDelete, '../App_Images/b_19_3.gif')" onmouseout="ChangImage(this, '../App_Images/b_19_1.gif');ChangImage(document.all.imgDelete, '../App_Images/b_19_4.gif')" runat="server" /></td>
                                            <td align="center" width="17"><asp:Image id="imgDelete" runat="server" ImageUrl="../App_Images/b_19_4.gif" style="cursor:hand" onmouseover="ChangImage(this, '../App_Images/b_19_3.gif');ChangImage(document.all.ibtnDelete0, '../App_Images/b_19_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_19_4.gif');ChangImage(document.all.ibtnDelete0, '../App_Images/b_19_1.gif')" onclick="ChildMenuVisible()" /></td>
                                        </tr>
                                    </table>
                                </td>
                                </asp:Panel>
                                <td width="100">&nbsp;</td>
                            </tr>
                        </table>
                        <!-- 操作工具条 End -->
                    </td>
                </tr>
                <tr>
                    <td height="5" align="left"></td>
                </tr>
                <tr>
                    <td height="480" valign="top" align="center">
                        <table align="center" height="460" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td style="width: 200px" height="460" background="../App_Images/b_47.gif">
                                    <table width="200" height="460" cellpadding="0" cellspacing="0" border="0" class="text">
                                        <tr><td height="30">&nbsp;</td></tr>
                                        <tr>
                                            <td><asp:listbox ID="lstBox" runat="server" Height="420px" Width="180px" CssClass="text" AutoPostBack="True" OnSelectedIndexChanged="lstBox_SelectedIndexChanged"/> </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 30px"></td>
                                <td style="width: 500px" height="460" background="../App_Images/b_48.gif" valign="top">
                                    <table width="500" height="460" cellpadding="0" cellspacing="0" border="0" class="text">
                                        <tr><td height="30">&nbsp;</td></tr>
                                        <tr>
                                            <td align="center">
                                                <table align="center" width="460" height="25" cellpadding="0" cellspacing="0" border="1" class="text" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                                    <tr height="25">
                                                        <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184;width: 50px">序号</td>
                                                        <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184;width: 60px">操作</td>
                                                        <td align="left" background="../App_Images/b_17.gif" style="font-weight: bold; color: red;">&nbsp;&nbsp;确认岗位</td>
                                                    </tr>
                                                    <asp:Panel ID="panAddResult" runat="server" Visible="false">
                                                    <tr height="20">
                                                        <td align="center" background="../App_Images/b_23.gif"></td>
                                                        <td align="center">
                                                            <asp:ImageButton ID="ibtnAddCancel" OnClick="AddAuditSet" CommandName="1" ImageUrl="../App_Images/ico/4.gif" ToolTip="取消新增" runat="server" OnClientClick="return confirm('您真的要取消新增吗？');" />&nbsp;
                                                            <asp:ImageButton ID="ibtnAddServer" OnClick="AddAuditSet" CommandName="2" ImageUrl="../App_Images/ico/11.gif" ToolTip="保存新增" runat="server" />
                                                        </td>
                                                        <td align="center"><uc1:CuTextSelectBox ID="ctsbAdd0" Width="340" runat="server" ValidateText="确认岗位" ReturnTextIDs="ctsbAdd0" OpenPageUrl="../Mod_QueryFrom/frm_QueryStationData.aspx" /></td>
                                                    </tr>
                                                    </asp:Panel>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="height: 340px" valign="top">
                                                <asp:DataGrid ID="dgrdResult" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="18" ShowHeader="False" Width="460px" BorderStyle="None" BorderWidth="0px" CellPadding="0" CssClass="text" GridLines="None" OnItemDataBound="dgrdResult_ItemDataBound">
                                                    <PagerStyle Visible="False" BorderStyle="None" BorderWidth="0px" />
                                                    <Columns>
                                                        <asp:TemplateColumn>
                                                            <ItemTemplate>
                                                                <table width="460" height="20" class="text" cellpadding="0" cellspacing="0" border="1" bordercolor="#A1A7BB" style="border-collapse: collapse">
                                                                    <tr id='trRs' runat="server">
                                                                        <td width="50" align="center" style="font-weight: bold; color: #183184;" background="../App_Images/b_23.gif"><%# Container.ItemIndex + 1 %></td>
                                                                        <td width="60" align="center">
                                                                            <table width="60" border="0" cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:CheckBox ID="chkRsSelect" Visible="false" onclick="ChangTrBgColorByDataGrid(this, 'trRs','chkRsSelect')" style="cursor:hand" runat="server" />
                                                                                        <asp:ImageButton ID="ibtnRsCancel" Visible="false" OnClick="UpdateAuditSet"  CommandName="1" CommandArgument="<%# Container.ItemIndex %>" ToolTip="取消编辑" Height="17" Width="17" ImageUrl="../App_Images/ico/4.gif" runat="server" OnClientClick="return confirm('您真的要取消编辑吗？')" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:imagebutton ID="ibtnRsEdit" Visible="false" OnClick="UpdateAuditSet"  CommandName="2" CommandArgument="<%# Container.ItemIndex %>" ToolTip="编辑" Height="17" Width="17" ImageUrl="../App_Images/ico/12.gif" runat="server" />
                                                                                        <asp:ImageButton ID="ibtnRsServer" Visible="false" OnClick="UpdateAuditSet"  CommandName="3" CommandArgument="<%# Container.ItemIndex %>" ToolTip="保存编辑" Height="17" Width="17" ImageUrl="../App_Images/ico/11.gif" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                        <td align="left"><uc1:CuTextSelectBox ID="ctsbRs0" Width="340" Text='<%# DataBinder.Eval(Container.DataItem, "dt_name")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "dt_id")%>' ReadOnly="true" runat="server" ValidateText="确认岗位" ReturnTextIDs="ctsbRs0" OpenPageUrl="../Mod_QueryFrom/frm_QueryStationData.aspx" /></td>
                                                                    </tr>
                                                                </table>
                                                            </ItemTemplate>
                                                        </asp:TemplateColumn>
                                                        <asp:BoundColumn DataField="id" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                                    </Columns>
                                                    <AlternatingItemStyle BackColor="#EEEFF2" />
                                                    <ItemStyle BorderWidth="0px" Height="0px" />
                                                </asp:DataGrid>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td height="30" align="center">
                                                <asp:Label Enabled="false" ID="lblRsCounts" runat="server" CssClass="text"/>
                                                <asp:Label Enabled="false" ID="lblPageCounts" runat="server" CssClass="text"/>
                                                <asp:Label Enabled="false" ID="lblCurrPage" runat="server" CssClass="text"/>&nbsp;&nbsp;
                                                <asp:linkbutton Enabled="false" ID="lbtnFirst" runat="server" CssClass="text" Text="首  页" OnClick="ChangPage" CommandName="0" />
                                                <asp:linkbutton Enabled="false" ID="lbtnPrev" runat="server" CssClass="text" Text="上一页" OnClick="ChangPage" CommandName="1" />
                                                <asp:linkbutton Enabled="false" ID="lbtnNext" runat="server" CssClass="text" Text="下一页" OnClick="ChangPage" CommandName="2" />
                                                <asp:linkbutton Enabled="false" ID="lbtnEnd" runat="server" CssClass="text" Text="尾  页" OnClick="ChangPage" CommandName="3" />&nbsp;&nbsp;
                                                <asp:Label Enabled="false" ID="lblGoTxt1" runat="server" CssClass="text" Text="跳转到"/>
                                                <asp:textBox Enabled="false" ID="txtGo" onmouseover="this.select()" runat="server" OnTextChanged="txtGo_TextChanged" CssClass="text" Height="13px" Width="18px" BorderColor="#7F9DB9" BorderWidth="1px" MaxLength="5"  AutoPostBack="True"/>
                                                <asp:Label Enabled="false" ID="lblGoTxt2" runat="server" CssClass="text" Text="页"/>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <asp:label ID="lblJs" runat="server"/>
        </form>
    </body>
</html>
